package com.backend.system.beans.role;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 根据用户信息查询角色vo
 *
 * @author backend-manage
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel
public class RoleQueryAllByUserVO extends RoleQueryAllVO {

    @Serial
    private static final long serialVersionUID = -5385059436024557143L;

    /**
     * 用户是否拥有此角色
     */
    @ApiModelProperty("用户是否拥有此角色")
    private Boolean userHasRole;
}
